package com.dianzi.certification.service.impl;

import com.dianzi.certification.entity.Role;
import com.dianzi.certification.mapper.RoleMapper;
import com.dianzi.certification.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author copa
 * @createDate 2022-03-07 22:55
 * @function
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;

    @Override
    public Role findById(Integer roleId) {
        return roleMapper.selectById(roleId);
    }
}
